<html>
<head>
	<title>Emp Edit</title>
</head>
<#assign base=(rc.getContextPath())!''>
<body>
	<form action="${base}/emp/upload" method="post" enctype="multipart/form-data">
	单文件上传<br/>
	<table border="1">
		<tr>
			<td align="right"><b>选择文件</b></td>
			<td><input type="file" name="fileName"/></td>
		</tr>
		<tr>
			<td></td>
			<td><input type="submit" value="保存"/></td>
		</tr>
	</table>
	</form>


	<form action="${base}/emp/upload2" method="post" enctype="multipart/form-data">
	多文件上传 *input的name属性值需不同<br/>
	<table border="1">
		<tr>
			<td align="right"><b>选择文件1</b></td>
			<td><input type="file" name="fileName"/></td>
		</tr>
		<tr>
			<td align="right"><b>选择文件2</b></td>
			<td><input type="file" name="fileName2"/></td>
		</tr>
		<tr>
			<td></td>
			<td><input type="submit" value="保存"/></td>
		</tr>
	</table>
	</form>
</body>
</html>